import { useContext } from "react";
import ContextTodo from "../../../../store/contextTodo";
const ContextChild3= () => {
   const context = useContext(ContextTodo)
     console.log('context',context)
    return (<div>
      <h1>子组件3使用hook获取context：</h1>
      <p>
      {
        context.title
      }
      </p>
    </div>);
}
 
export default ContextChild3;